﻿using Cysharp.Threading.Tasks;
using System;


public partial class Tools
{
    /// <summary>
    /// 延迟几秒
    /// </summary>
    public static UniTask Delay(float duration)
    {
        return UniTask.Delay(TimeSpan.FromSeconds(duration));
    }
}